#include "ProcBar.h"
char ch[SIZE]={0};
const char* ch2="/-\\|";
void Procbar()
{
   int cout=0;
  while(cout<SIZE)
  { 
    printf("[%-100s]""[%d%%]""[%c]\r",ch,cout,ch2[cout%4]);
    ch[cout++]=BODY;
    fflush(stdout);
    usleep(50000);
}
printf("\n");
}
